package com.nervenets.web.redis.domain.global;

import com.nervenets.web.redis.RedisDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Created by joe on 17-3-14.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GlobalRule extends RedisDomain {
    private String defaultAvatar = "http://img.zcool.cn/community/01786557e4a6fa0000018c1bf080ca.png";//用户默认头像
//    private BigDecimal proportionOfIssueWithdraw = BigDecimal.valueOf(0.05);//发行商提现的手续费率
//    private BigDecimal proportionOfMarketWithdraw = BigDecimal.valueOf(0.05);//市场人员提现的手续费率
//    private BigDecimal proportionOfDealerWithdraw = BigDecimal.valueOf(0.05);//经销商提现的手续费率
    private BigDecimal proportionOfUserWithdraw = BigDecimal.valueOf(0.02);//用户提现的手续费率
    private BigDecimal proportionOfReward2Money = BigDecimal.valueOf(0.1);//用户奖励金转钱包提现的手续费率
    private BigDecimal proportionOfFriends = BigDecimal.valueOf(0.1);//直推好友奖励比例
    private BigDecimal proportionOfTeam = BigDecimal.valueOf(0.05);//直推好友父级奖励比例
    private String customServiceTel = "028-85081413";//客服电话
    private long scoreOfIdAuth = 5000;//认证成功赠送积分
    private BigDecimal scorePropOfBuy = BigDecimal.valueOf(0.01);//购买成功后的积分奖励倍数
    private int tailConfirmHour = 48 * 60;//尾款确认时间（单位：分钟）
    private int orderExpiredPayTime = 48 * 60;//订单超时未支付时间（单位：分钟）

    private String invoiceType = "企业单位";//发票抬头类型
    private String invoiceCompany = "四川视纪网络科技有限公司";//发票抬头
    private String invoiceNo = "91510105MA6B588J35";//发票税号
    private String invoiceExAddress = "四川省成都市武候区望江路1号中海广场1306";//公司收件人地址
    private String invoiceExTel = "02885081413";//公司收件人电话
    private String invoiceExZipCode = "610000";//公司收件邮编

    @Override
    public String getKey() {
        return "GLOBAL_RULE";
    }

}
